package com.net.xpay.core.model;

import com.net.common.model.PagedModel;
import com.net.xpay.core.enums.CollectionOrderStatus;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * 2020/5/11 15:36

 */
@Getter
@Setter
@NoArgsConstructor
public class CollectionSafePayOrderSearchModel extends PagedModel {

    @ApiModelProperty(notes = "状态")
    private CollectionOrderStatus status;

    @ApiModelProperty(notes = "收集渠道")
    private Long collectionSafePayChannelId;

    @ApiModelProperty(notes = "参与方真实姓名，如果非空，将校验收款支付宝账号姓名一致性。当identity_type传ALIPAY_LOGON_ID时此字段必选")
    private String name;

    @ApiModelProperty(notes = "收款方账号，传入支付宝账号或者支付宝uid test@taobao.com 必选")
    private String identity;

    @ApiModelProperty(notes = "最小创建时间")
    private LocalDateTime minCreateTime;

    @ApiModelProperty(notes = "最大创建时间")
    private LocalDateTime maxCreateTime;

    //以下为后台自动填充字段,前端不要赋值
    @ApiModelProperty(notes = "用户编号")
    private Long userId;
}
